package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 订单评价表
 *
 * @author flyme
 * @date 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_order_appraise")
@TableAlias("orderAppraise")
@ApiModel(value="BusOrderAppraise对象", description="订单评价表")
public class BusOrderAppraise extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "appraiseId", type = IdType.ASSIGN_ID)
    private Long appraiseId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "评价人")
    private Long appraiseUserId;

    @ApiModelProperty(value = "解答人")
    private Long answerUserId;

    @ApiModelProperty(value = "评价内容")
    private String appraiseContent;

    @ApiModelProperty(value = "评分")
    private BigDecimal score;



}
